package com.ljfiction.book.Baner;

import java.util.List;

/**
 * Created by Android on 2017/11/22.
 */

public class HisteryReadBean {

    /**
     * returnCode : 200
     * msg : 书籍加载成功!
     * data : {"pageNum":1,"pageSize":10,"size":3,"startRow":1,"endRow":3,"total":3,"pages":1,"list":[{"id":46,"userId":null,"bookId":78,"bookName":"白羽扬歌","dateTimes":null,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","lastUpdateChapterId":"53","lastUpdateChapterName":"第十六章：翻盘","lastUpdateTime":1509086245000,"bookCheckStatus":"2","writerName":"幻夏灬","chapterId":"3","chapterName":"第一章: 石头"},{"id":993,"userId":null,"bookId":99,"bookName":"[主家教]只愿君安","dateTimes":1510743134000,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/bookcover00099.jpg","lastUpdateChapterId":"846","lastUpdateChapterName":"第二十章  梦境中白兰（下）","lastUpdateTime":1510109021000,"bookCheckStatus":"2","writerName":"墨迹大大","chapterId":"489","chapterName":"第五章：偶遇到传授暖男"},{"id":39,"userId":null,"bookId":76,"bookName":"佛曰：我很帅","dateTimes":1509086380000,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","lastUpdateChapterId":"991","lastUpdateChapterName":"ssadasdasdasd","lastUpdateTime":1510660120000,"bookCheckStatus":"2","writerName":"佛曰我很帅","chapterId":"26","chapterName":"第九章 八脉现"}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 10
         * size : 3
         * startRow : 1
         * endRow : 3
         * total : 3
         * pages : 1
         * list : [{"id":46,"userId":null,"bookId":78,"bookName":"白羽扬歌","dateTimes":null,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","lastUpdateChapterId":"53","lastUpdateChapterName":"第十六章：翻盘","lastUpdateTime":1509086245000,"bookCheckStatus":"2","writerName":"幻夏灬","chapterId":"3","chapterName":"第一章: 石头"},{"id":993,"userId":null,"bookId":99,"bookName":"[主家教]只愿君安","dateTimes":1510743134000,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/bookcover00099.jpg","lastUpdateChapterId":"846","lastUpdateChapterName":"第二十章  梦境中白兰（下）","lastUpdateTime":1510109021000,"bookCheckStatus":"2","writerName":"墨迹大大","chapterId":"489","chapterName":"第五章：偶遇到传授暖男"},{"id":39,"userId":null,"bookId":76,"bookName":"佛曰：我很帅","dateTimes":1509086380000,"bookStatus":0,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","lastUpdateChapterId":"991","lastUpdateChapterName":"ssadasdasdasd","lastUpdateTime":1510660120000,"bookCheckStatus":"2","writerName":"佛曰我很帅","chapterId":"26","chapterName":"第九章 八脉现"}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 0
         * lastPage : 1
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * id : 46
             * userId : null
             * bookId : 78
             * bookName : 白羽扬歌
             * dateTimes : null
             * bookStatus : 0
             * bookImage : http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg
             * lastUpdateChapterId : 53
             * lastUpdateChapterName : 第十六章：翻盘
             * lastUpdateTime : 1509086245000
             * bookCheckStatus : 2
             * writerName : 幻夏灬
             * chapterId : 3
             * chapterName : 第一章: 石头
             */

            private int id;
            private Object userId;
            private int bookId;
            private String bookName;
            private long dateTimes;
            private int bookStatus;
            private String bookImage;
            private String lastUpdateChapterId;
            private String lastUpdateChapterName;
            private long lastUpdateTime;
            private String bookCheckStatus;
            private String writerName;
            private String chapterId;
            private String chapterName;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public Object getUserId() {
                return userId;
            }

            public void setUserId(Object userId) {
                this.userId = userId;
            }

            public int getBookId() {
                return bookId;
            }

            public void setBookId(int bookId) {
                this.bookId = bookId;
            }

            public String getBookName() {
                return bookName;
            }

            public void setBookName(String bookName) {
                this.bookName = bookName;
            }

            public long getDateTimes() {
                return dateTimes;
            }

            public void setDateTimes(long dateTimes) {
                this.dateTimes = dateTimes;
            }

            public int getBookStatus() {
                return bookStatus;
            }

            public void setBookStatus(int bookStatus) {
                this.bookStatus = bookStatus;
            }

            public String getBookImage() {
                return bookImage;
            }

            public void setBookImage(String bookImage) {
                this.bookImage = bookImage;
            }

            public String getLastUpdateChapterId() {
                return lastUpdateChapterId;
            }

            public void setLastUpdateChapterId(String lastUpdateChapterId) {
                this.lastUpdateChapterId = lastUpdateChapterId;
            }

            public String getLastUpdateChapterName() {
                return lastUpdateChapterName;
            }

            public void setLastUpdateChapterName(String lastUpdateChapterName) {
                this.lastUpdateChapterName = lastUpdateChapterName;
            }

            public long getLastUpdateTime() {
                return lastUpdateTime;
            }

            public void setLastUpdateTime(long lastUpdateTime) {
                this.lastUpdateTime = lastUpdateTime;
            }

            public String getBookCheckStatus() {
                return bookCheckStatus;
            }

            public void setBookCheckStatus(String bookCheckStatus) {
                this.bookCheckStatus = bookCheckStatus;
            }

            public String getWriterName() {
                return writerName;
            }

            public void setWriterName(String writerName) {
                this.writerName = writerName;
            }

            public String getChapterId() {
                return chapterId;
            }

            public void setChapterId(String chapterId) {
                this.chapterId = chapterId;
            }

            public String getChapterName() {
                return chapterName;
            }

            public void setChapterName(String chapterName) {
                this.chapterName = chapterName;
            }
        }
    }
}
